package cn.thoughtworks.school.repositories;

import cn.thoughtworks.school.entities.QuizSuggestion;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface QuizSuggestionRepository extends JpaRepository<QuizSuggestion, Long> {
    List<QuizSuggestion> findByOrganizationIdAndSolvedIsFalse(Long userCurrentOrganizationId);
}
